package org.dromara.business.domain;

import org.dromara.common.mybatis.core.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

/**
 * 用户对评论的点赞状态对象 t_content_comment_likes
 *
 * @author Hao Tong Xue
 * @date 2025-05-10
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_content_comment_likes")
public class ContentCommentLikes extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 评论ID
     */
    private Long commentId;

    /**
     * 点赞状态 0-点赞 1-取消点赞
     */
    private Integer isLiked;

    /**
     * 删除标志（0-存在，1-删除）
     */
    @TableLogic
    private String delFlag;

    /**
     * 备注
     */
    private String remark;


}
